package cn.exrick.service;

import java.util.List;

import cn.exrick.pojo.TbFriend;
import cn.exrick.utils.mybatis.Page;
import cn.exrick.utils.mybatis.PageParam;

public interface FriendService extends BaseService<TbFriend> {
    TbFriend findByFriendAndMember(long friendId, long memberId);

    /**
     * 查询用户好友列表
     *
     * @param memberId
     * @return
     */
    List<TbFriend> findByMemberId(long memberId);

    Page<TbFriend> findPageByMemberId(long memberId, PageParam pageParam) throws Exception;
}
